package com.aiyan.edu.nacos.consumer.example.client.fallback;

import com.aiyan.edu.nacos.consumer.example.client.HelloClient;
import org.springframework.stereotype.Component;

/**
 * @author: zqzhou
 * @create: 2019/12/11 15:07
 **/
@Component
public class DefaultFallback implements HelloClient {
    @Override
    public String hello(String id) {
        return "服务异常了!!!";
    }
}
